@extends('layouts.master')
@section('head')
	@parent
	<title>FACT - Upload</title>	
@stop

@section('content')
	<div class="container-fluid">
	<div class="row">
		<div class="col-md-8 col-md-offset-2">
			<div class="panel panel-default" style="margin-top: 86px;">
				<div class="panel-heading">Create Album</div>
				<div class="panel-body">
					<!-- add action -->
					<form class="form-horizontal" role="form" method="POST" action="/gallery/{{$album_id}}" enctype="multipart/form-data">
						<input type="hidden" name="_token" value="{{ csrf_token() }}">

						<div class="form-group">
							<label class="col-md-4 control-label">Image</label>
							<div class="col-md-6">
								<input type="file" style="margin-top: 8px;" name="image" value="{{ old('image') }}">
							</div>
						</div>

						<div class="form-group">
							<div class="col-md-6 col-md-offset-4">
								<button type="submit" class="btn btn-primary">
									Add photo
								</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
@stop